Bump compileSdk/targetSdk to 36 for Google Play 2025/2026 policy#44
Merged
Conversation
Google Play requires new apps to target API 36 (Android 16) by Aug 31, 2025 and updates by Nov 1, 2025. Previous target 35 satisfied the 2024 deadline but trips the 2025 warning in Play Console. AGP 8.1.2 only officially supports compileSdk 34, so set android.suppressUnsupportedCompileSdk=36 to silence the build-time error. Bumping AGP itself is off the table for now — it retriggers the rust-android-gradle 0.9.6 mergeJniLibFolders duplicate-resources bug we already had to work around (see 0249f91 / 8875c74). minSdk stays at 24 (no Play policy bump there yet). Verified locally on AVD meow_api35 (arm64-v8a, API 35): - ./gradlew :app:assembleDebug green - scripts/run_local_emulator_tests.sh: 8/8 tests green Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Google Play requires new apps to target API 36 (Android 16) by Aug 31, 2025 and updates by Nov 1, 2025. Previous target 35 satisfied the 2024 deadline but trips the 2025 warning in Play Console.
Changes
app/build.gradle:compileSdk 34 → 36,targetSdk 35 → 36.minSdk 24unchanged.gradle.properties:android.suppressUnsupportedCompileSdk=36so AGP 8.1.2 stops erroring on the newer compileSdk.Why not bump AGP
AGP 8.1.2 officially caps at compileSdk 34, but bumping AGP retriggers the rust-android-gradle 0.9.6
mergeJniLibFoldersduplicate-resources bug we already had to work around (see 0249f91 / 8875c74). The suppression flag is the lighter fix.Verified
./gradlew :app:assembleDebuggreen.scripts/run_local_emulator_tests.shon AVDmeow_api35(arm64-v8a, API 35): 8/8 e2e tests green.🤖 Generated with Claude Code